package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeliveryOrder {
    @TableId(value = "delivery_order_id", type = IdType.ASSIGN_ID)
    private Long deliveryOrderId;
    private String taskId;
    private String deliveryPersonId;
    private String deliveryStatus;  // 枚举类型也可以用String来代替
    private Long substationId;
}

